package com.lc.tgxm.activity;

import android.webkit.JavascriptInterface;

/**
 * JSKit
 * Created by Lei on 2017/1/23.
 */
public class JSKit {

    private OneActivity ma;

    public JSKit(OneActivity context) {
        this.ma = context;
    }

    @JavascriptInterface
    public void showMsg() {
        ma.doActionForJs(1);
    }

    @JavascriptInterface
    public void showMsg2() {
        ma.doActionForJs(2);
    }
}
